import {Injectable} from "@angular/core";
import {services} from "../../providers/service";
@Injectable()
export class PersonalDataService extends services {
    getPersonalData() {
        return this.getData('../../assets/data/personalData.json')
            .then(data => {
                this.personalDetail = data[0].infoData;
                return data;
            }, err => {
                console.log(err);
                return err;
            })
            .catch(fail => {
                console.log(fail);
            })
    }
}